home *** CD-ROM | disk | FTP | other *** search
/ Champak 132 (Alt) / Vol 132.iso / games / crazy_ch.swf / scripts / DefineSprite_72_man / frame_1 / DoAction.as
Encoding:
Text File  |  2011-06-09  |  369 b   |  28 lines

  1. speed = 2;
  2. s20._visible = 0;
  3. s30._visible = 0;
  4. s50._visible = 0;
  5. s100._visible = 0;
  6. sammo._visible = 0;
  7. var the_scr = random(5);
  8. if(the_scr == 0)
  9. {
  10.    s20._visible = 1;
  11. }
  12. if(the_scr == 1)
  13. {
  14.    s30._visible = 1;
  15. }
  16. if(the_scr == 2)
  17. {
  18.    s50._visible = 1;
  19. }
  20. if(the_scr == 3)
  21. {
  22.    s100._visible = 1;
  23. }
  24. if(the_scr == 4)
  25. {
  26.    sammo._visible = 1;
  27. }
  28.